package com.scut.miaosha.service;


import com.scut.miaosha.dao.UserDao;
import com.scut.miaosha.domain.User;
import org.springframework.beans.factory.annotation.Autowired;
import org.springframework.stereotype.Service;

@Service
public class UserService {

    @Autowired
    public UserDao userDao;

    public User getById(int id)
    {
        return userDao.getById(id);
    }



}
